﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AspNet.Identity.DataAccess;
using Microsoft.AspNet.Identity;

namespace MvcApplication.Identity
{
    public class IdentityRoleManager : RoleManager<IdentityRole, Guid>
    {
        protected IdentityRoleManager(IRoleStore<IdentityRole, Guid> store) : base(store) { }

        public static IdentityRoleManager GetManager()
        {
            return new IdentityRoleManager(new RoleStore());
        }
    }
}
